{% extends "Industrial_Logs/base.html" %} 
{% load bootstrap3 %}
{% block header %} 
  <h2>Add a new Entry:</h2>

{% endblock header %}

{% block content %} 
  <p><a href="{% url 'Industrial_Logs:topic' topic.id %}">{{ topic }}</a></p> 

  <form action="{% url 'Industrial_Logs:new_entry' topic.id %}" method='post' 
    class="form"> 
    {% csrf_token %} 
    {% bootstrap_form form %} 
    {% buttons %} 
      <button  name='submit'>add entry</button> 
    {% endbuttons %} 
  </form> 
{% endblock content %}
